package com.cognizant.ams.dao;

import com.cognizant.ams.bean.Ldmenu;
import com.cognizant.ams.bean.LdmenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LdmenuMapper {
    long countByExample(LdmenuExample example);

    int deleteByExample(LdmenuExample example);

    int deleteByPrimaryKey(String nodecode);

    int insert(Ldmenu record);

    int insertSelective(Ldmenu record);

    List<Ldmenu> selectByExample(LdmenuExample example);

    Ldmenu selectByPrimaryKey(String nodecode);

    int updateByExampleSelective(@Param("record") Ldmenu record, @Param("example") LdmenuExample example);

    int updateByExample(@Param("record") Ldmenu record, @Param("example") LdmenuExample example);

    int updateByPrimaryKeySelective(Ldmenu record);

    int updateByPrimaryKey(Ldmenu record);

	List<Ldmenu> getUserMenu(String username);
}